package com.jinly.ryder.manage.web.vo;

import com.jinly.ryder.manage.service.model.DeployStatus;
import com.jinly.ryder.manage.service.model.EnvType;
import lombok.Data;

@Data
public class DeployGroupVO {

    private Integer id;

    /**
     * 部署组名称
     */
    private String name;

    /**
     * 部署组展示名称
     */
    private String showName;

    /**
     * 应用名称
     */
    private String appName;

    /**
     * 环境类型
     */
    private EnvType envType;

    /**
     * git 分支
     */
    private String gitBranch;

    /**
     * 部署申请ID
     */
    private Integer applyId;


    /**
     * 部署状态，待发布，发布中
     */
    private DeployStatus deployStatus;


    private DeployGroupPropVO props;

    @Data
    public static class DeployGroupPropVO {
        /**
         * Java 启动参数
         */
        private String javaOpts;
    }

}
